From: Florian Müllner Date: Thu, 3 Nov 2016 18:06:26 +0000 (+0100) Subject: screenShield: Raise lightbox on blank X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~661 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=347972e45f9019e626fcb70357512201fca98729;p=gnome-shell.git screenShield: Raise lightbox on blank The lightboxes used for screen blanking are created during initialization and shown each time the screen should blank. During the (potentially long) time where the lightbox is hidden, any actor could be raised above the lightbox - in particular any popup menu raises itself to the top when opened. To not exclude those elements from screen blanking, raise the lightbox every time it is shown. https://bugzilla.gnome.org/show_bug.cgi?id=773875 --- diff --git a/js/ui/screenShield.js b/js/ui/screenShield.js index db53382c9..a2f0bf427 100644 --- a/js/ui/screenShield.js +++ b/js/ui/screenShield.js @@ -850,6 +850,7 @@ const ScreenShield = new Lang.Class({ }, _activateFade: function(lightbox, time) { + Main.uiGroup.set_child_above_sibling(lightbox.actor, null); lightbox.show(time); if (this._becameActiveId == 0)